Fix build with explicit --enable-wayland-backend
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Oct 2013 19:32:18 +0000 (15:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Oct 2013 19:32:18 +0000 (15:32 -0400)
We forgot to set set WAYLAND_SCANNER in this case.

configure.ac

index de92e7adda5d062c98119431f0b47da73e9d86ab..73a2c479a0dd65ba3212c6beeb2af26a6f5eee7f 100644 (file)
@@ -419,6 +419,7 @@ if test "$enable_wayland_backend" = "yes"; then
 #define GDK_WINDOWING_WAYLAND"
   DISABLE_ON_WAYLAND='%'
   WAYLAND_PACKAGES="$WAYLAND_DEPENDENCIES"
+  AC_PATH_PROG([WAYLAND_SCANNER],[wayland-scanner],[no])
   AS_IF([test "x$WAYLAND_SCANNER" = "xno"],
     AC_MSG_ERROR([Could not find wayland-scanner in your PATH, required for parsing wayland extension protocols]))
   AC_SUBST([WAYLAND_SCANNER])